/*
 * Copyright 2025 arisgo@163.com
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.arisgo.cloud.attendance.clazz.entity;

import com.arisgo.cloud.web.model.NumberIdWithTime;
import com.mybatisflex.annotation.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 周工作日
 *
 * @author Coulson
 * @since 2025-01-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Table("att_work_system_detail")
public class WorkSystemDetail extends NumberIdWithTime {

    /**
     * 租户
     */
    private Long tenantId;
    /**
     * 工作制度id
     */
    private Long systemId;
    /**
     * 日期
     */
    private String workday;
    /**
     * 日期编号
     */
    private Integer number;
    /**
     * 是否休息 0/否 1/是
     */
    private Boolean isRest;

    public static final String TENANT_ID = "tenant_id";
    public static final String SYSTEM_ID = "system_id";
    public static final String WORKDAY = "workday";
    public static final String NUMBER = "number";
    public static final String IS_REST = "is_rest";
}
